#ifndef THREAD_H_
#define THREAD_H_

#include <pthread.h>
#include <iostream>
#include <cstdlib>
#include <errno.h>
#include <sched.h>

class Thread
{
  static int proc_num;
  pthread_t coreThread;
 public:
  void init(void *(*startRoutine)(void*), void * arg);
  void kill();
  pthread_t getThread() {return coreThread;}
};

#endif // THREAD_H_
